package com.example.demo.common.entity.enums;

/**
 * 仓库类型枚举.
 *
 * @author Mei Ruoxiao
 * @since 2020/9/11
 */
public enum RepositoryTypeEnum {
    MATERIAL(0, "材料仓库"),
    PRODUCT(1, "成品仓库"),
    GARBAGE(2, "废品仓库");

    private int value;
    private String desc;

    RepositoryTypeEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int value() {
        return this.value;
    }

    public String desc() {
        return this.desc;
    }

}
